// aRemoteServerDlg.h : header file
//

#if !defined(AFX_AREMOTESERVERDLG_H__F6B36468_686C_419F_952D_CA06BFEB1AD5__INCLUDED_)
#define AFX_AREMOTESERVERDLG_H__F6B36468_686C_419F_952D_CA06BFEB1AD5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define TIMER_SHUTDOWN 2
/////////////////////////////////////////////////////////////////////////////
// CARemoteServerDlg dialog

class CTimerWnd;
class CARemoteServerDlg : public CDialog
{
// Construction
public:

	CARemoteServerDlg(CWnd* pParent = NULL);	// standard constructor
	~CARemoteServerDlg();

// Dialog Data
	//{{AFX_DATA(CARemoteServerDlg)
	enum { IDD = IDD_AREMOTESERVER_DIALOG };
	CListCtrl	m_ListReceive;
	CListCtrl	m_ListSend;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CARemoteServerDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	virtual void PostNcDestroy();
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CARemoteServerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnDestroy();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnMenuitemExit();
	afx_msg void OnButtonOption();
	afx_msg void OnMenuitemOption();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnButton6();
	afx_msg void OnButton8();
	afx_msg void OnButton7();
	//}}AFX_MSG
	LRESULT OnGISInstance(WPARAM wParam, LPARAM lParam);
	LONG OnShowTimer(WPARAM w,LPARAM l);
	LONG OnAddSendData(WPARAM w,LPARAM l);
	LONG OnAddReceiveData(WPARAM w,LPARAM l);
	DECLARE_MESSAGE_MAP()
private:
	int m_Countdown;
	int m_TimerStep;

	void ShowNotifyIcon(boolean add);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_AREMOTESERVERDLG_H__F6B36468_686C_419F_952D_CA06BFEB1AD5__INCLUDED_)
